export default [
  {
    url: "/route",
    type: "post",
    response() {
      return {
        code: 200,
        msg: "success",
        data: [
          {
            path: "/",
            name: "home",
            component: "HomeView",
            meta: {
              icon: "home",
              name: "首页",
            },
            children: [
              {
                path: "menu",
                name: "Menu",
                redirect: "item",
                meta: {
                  icon: "tu",
                  name: "兔子",
                },
                children: [
                  {
                    path: "item",
                    name: "Item",
                    component: "@/views/menu/menuitem/index.vue",
                    meta: {
                      icon: "zhu",
                      name: "猪头",
                    },
                  },
                ],
              },
            ],
          },
          {
            path: "/mao",
            name: "Mao",
            component: "HomeView",
            meta: {
              icon: "mao",
              name: "猫咪",
            },
            children: [
              {
                path: "tu",
                name: "Tu",
                redirect: "zhu",
                meta: {
                  icon: "tu",
                  name: "兔子",
                },
                children: [
                  {
                    path: "zhu",
                    name: "Zhu",
                    component: "@/views/mao/tuzi/zhu/index.vue",
                    meta: {
                      icon: "zhu",
                      name: "猪头",
                    },
                  },
                ],
              },
              {
                path: "gou",
                name: "Gou",
                component: "@/views/mao/gou/index.vue",
                meta: {
                  icon: "gou",
                  name: "狗",
                },
              },
            ],
          },
          {
            path: "/fuwenben",
            name: "FuWenBen",
            component: "HomeView",
            meta: {
              icon: "md",
              name: "富文本",
            },
            children: [
              {
                path: "wukuang",
                name: "Wukuang",
                component: "@/views/fuwenben/wukuang/index.vue",
                meta: {
                  icon: "quanping",
                  name: "无框",
                },
              },
              {
                path: "mdpreview",
                name: "MdPreview",
                component: "@/views/fuwenben/mdPreview/index.vue",
                meta: {
                  icon: "quanping",
                  name: "预览",
                },
              },
              {
                path: "mdpreviewhtml",
                name: "MdPreviewHtml",
                component: "@/views/fuwenben/mdPreviewHtml/index.vue",
                meta: {
                  icon: "quanping",
                  name: "HTML预览",
                },
              },
            ],
          },
          {
            path: "/luxiang",
            name: "LuXiang",
            component: "HomeView",
            meta: {
              icon: "luxiang",
              name: "录像",
            },
            children: [
              {
                path: "rrweb",
                name: "Rrweb",
                component: "@/views/luxiang/rrweb/index.vue",
                meta: {
                  icon: "luxiang",
                  name: "rrweb录制",
                },
              },
              {
                path: "recordRTC",
                name: "RecordRTC",
                component: "@/views/luxiang/recordRTC/index.vue",
                meta: {
                  icon: "luxiang",
                  name: "RecordRTC录制",
                },
              },
              {
                path: "peerConnection",
                name: "PeerConnection",
                component: "@/views/luxiang/peerConnection/index.vue",
                meta: {
                  icon: "luxiang",
                  name: "点对点连接",
                },
              },
              {
                path: "remoteConnection",
                name: "RemoteConnection",
                component: "@/views/luxiang/remoteConnection/index.vue",
                meta: {
                  icon: "luxiang",
                  name: "网络点对点连接",
                },
              },
              {
                path: "fileUpload",
                name: "FileUpload",
                component: "@/views/luxiang/fileUpload/index.vue",
                meta: {
                  icon: "shangchuan",
                  name: "文件上传",
                },
              },
            ],
          },
          {
            path: "/jiaoyu",
            name: "JiaoYu",
            component: "HomeView",
            redirect: "xiaoyuanguanli",
            meta: {
              icon: "jiaoyu1",
              name: "教育",
            },
            children: [
              {
                path: "xiaoyuanguanli",
                name: "XiaoYuanGuanLi",
                redirect: "nianji",
                meta: {
                  icon: "xiaoyuanguanli",
                  name: "校园管理",
                },
                children: [
                  {
                    path: "xuexiao",
                    name: "XueXiao",
                    component:
                      "@/views/jiaoyu/xiaoyuanguanli/xuexiao/index.vue",
                    meta: {
                      icon: "xuexiao2",
                      name: "学校管理",
                    },
                  },
                  {
                    path: "nianji",
                    name: "NianJi",
                    component: "@/views/jiaoyu/xiaoyuanguanli/nianji/index.vue",
                    meta: {
                      icon: "nianji",
                      name: "年级管理",
                    },
                  },
                  {
                    path: "banji",
                    name: "BanJi",
                    component: "@/views/jiaoyu/xiaoyuanguanli/banji/index.vue",
                    meta: {
                      icon: "banji",
                      name: "班级管理",
                    },
                  },
                  {
                    path: "xuesheng",
                    name: "XueSheng",
                    component:
                      "@/views/jiaoyu/xiaoyuanguanli/xuesheng/index.vue",
                    meta: {
                      icon: "xuesheng",
                      name: "学生管理",
                    },
                  },
                ],
              },
            ],
          },
          {
            path: "/set",
            name: "Set",
            component: "HomeView",
            meta: {
              icon: "huanjing2",
              name: "设置",
            },
            children: [
              {
                path: "icon",
                name: "Icon",
                component: "@/views/set/icon/index.vue",
                meta: {
                  icon: "icon",
                  name: "图标",
                },
              },
              {
                path: "link",
                name: "Link",
                meta: {
                  icon: "icon",
                  name: "路由链接",
                },
                children: [
                  {
                    path: "in",
                    name: "In",
                    component: "@/views/set/link/in/index.vue",
                    meta: {
                      icon: "icon",
                      name: "内链",
                      url: "http://localhost:8080/#/",
                    },
                  },
                  {
                    path: "out",
                    name: "Out",
                    component: "@/views/set/link/out/index.vue",
                    meta: {
                      icon: "icon",
                      name: "外链",
                      blank: true,
                      url: "http://localhost:8080/#/jiaoyu/xiaoyuanguanli/nianji",
                    },
                  },
                ],
              },
            ],
          },
          {
            path: "/3d",
            name: "3D",
            component: "HomeView",
            meta: {
              icon: "liti",
              name: "3D",
            },
            children: [
              {
                path: "three",
                name: "Three",
                component: "@/views/3d/three/index.vue",
                meta: {
                  icon: "liti",
                  name: "Three.js",
                },
              },
            ],
          },
        ],
      };
    },
  },
];
